﻿<%@ Page Title="JohnnySins :: VIDEO STREAM ARCHIVE" Language="C#" MasterPageFile="~/Member/Member.Master" AutoEventWireup="true" CodeBehind="Archives.aspx.cs" Inherits="JohnnySins.Archives" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
<script type="text/javascript">
    $(document).ready(function () {
        $.datepicker.setDefaults($.datepicker.regional[""]);
        $("#calendar").datepicker({
            changeMonth: true,
            changeYear: true,
            showButtonPanel: true,
            onSelect: function (date, obj) {
                //alert(date);
                __doPostBack('upArchive', date);
            }
        });
        $("#calendar").datepicker($.datepicker.regional["en-GB"]);
    });
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="container">
        	<div class="page_content">
            	<div class="page_title">
                    <h1>Video Stream Archive</h1>
                </div>
                
                <div class="row">
                	<div class="col-lg-12">
                    	<div class="video_chat_block">
                                                	
                            <div class="video_chat_container">
                                <div class="row">
                                    <div class="col-sm-7 col-md-7 col-lg-7">
                                    	<div class="archive_calander_container">
                                           <!--calender add here-->
                                           <h5>Calendar area</h5>
                                           <div id="calendar" style="margin-top:5px;"></div>
                                            
                                        </div>
                                    </div>
                                    
                                    <div class="col-sm-5 col-md-5 ccol-lg-5">
                                    <form id="Form1" runat="server">
                                    <asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptGlobalization="true" EnablePartialRendering="true" EnablePageMethods="true" AsyncPostBackTimeout="14000" EnableScriptLocalization="true" ScriptMode="Release" />
                                    <asp:UpdatePanel runat="server" ID="upArchive" UpdateMode="Conditional" OnLoad="upArchive_Load">
                                    <ContentTemplate>  
                                    	<div class="text_chat_area">
                                        	<h5>Scene Picture</h5>
                                            <div class="archive_video_container">
                                                <asp:Repeater runat="server" ID="rptArchive" OnItemDataBound="rptArchive_ItemDataBound">
                                                <ItemTemplate>
                                                <div class="archive_video_thumb">
                                                    <asp:HyperLink ID="hlVideo" runat="server" />
                                                 </div>
                                                </ItemTemplate>
                                                </asp:Repeater>
                                            </div>
                                        	<div class="archive_video_container" style="display:none;">
                                            
                                                <!--archive video block-->
                                                <div class="archive_video_thumb">
                                                    <a href="javascript:void(0);" class="" onclick="__doPostBack('upArchive', '');">
                                                        <img alt="User Pic" class="media-object" src="<%=ResolveClientUrl("~") %>images/web/archive_video_img.jpg" />
                                                    </a>
                                                 </div>
                                                 
                                                 <!--archive video block-->
                                                <div class="archive_video_thumb">
                                                    <a href="#" class="">
                                                        <img alt="User Pic" class="media-object" src="<%=ResolveClientUrl("~") %>images/web/archive_video_img.jpg" />
                                                    </a>
                                                 </div>
                                                 
                                                 <!--archive video block-->
                                                <div class="archive_video_thumb">
                                                    <a href="#" class="">
                                                        <img alt="User Pic" class="media-object" src="<%=ResolveClientUrl("~") %>images/web/archive_video_img.jpg" />
                                                    </a>
                                                 </div>
                                                 
                                                 <!--archive video block-->
                                                <div class="archive_video_thumb">
                                                    <a href="#" class="">
                                                        <img alt="User Pic" class="media-object" src="<%=ResolveClientUrl("~") %>images/web/archive_video_img.jpg" />
                                                    </a>
                                                 </div>
                                                 
                                              </div>   
                                              
                                        </div>
                                    </ContentTemplate>
                                    </asp:UpdatePanel>
                                    </form>
                                    </div>
                                    
                                </div>
                            </div>
                        
                        </div>                        
                    </div>
                </div>
                
            	
            </div>
    </div>
</asp:Content>
